Builder
constructor(context: Context = ApplicationHolder.applicationContext, locationManager: LocationManager? = context.getSystemService(
Context.LOCATION_SERVICE,
) as? android.location.LocationManager, googleLocationProviderSettings: GoogleLocationProvider.Settings)
Constructor that uses a GoogleLocationProvider
Parameters
context
the Context in which to manage the location
locationManager
the android.location.LocationManager to manage the location
googleLocationProviderSettings
the GoogleLocationProvider.Settings to use to create a GoogleLocationProvider
constructor(context: Context = ApplicationHolder.applicationContext, locationManager: LocationManager? = context.getSystemService(
Context.LOCATION_SERVICE,
) as? android.location.LocationManager, createLocationProvider: (BaseLocationManager.Settings) -> LocationProvider)
Parameters
context
the Context in which to manage the location
locationManager
the android.location.LocationManager to manage the location
createLocationProvider
method for creating a LocationProvider from BaseLocationManager.Settings